﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WerewolfGMSupporter
{
    public partial class InputNameDialog : Form
    {
        public InputNameDialog()
        {
            InitializeComponent();
        }

        public string getPlayerName()
        {
            DialogResult result = this.ShowDialog();

            if (result == DialogResult.OK)
            {
                return this.textName.Text.Trim();
            }

            return "";
        }
    }
}
